#include <iostream>
#include <vector>
using namespace std;

class A {
	private:
		int n;
	public:
		friend bool operator<(const A &, const A &);
		A(int n_) {
			n = n_;
		}
};

bool operator<(const A &o1, const A &o2) {
	return o1.n < o2.n;
}

int main() {
	std::vector<A>v1;
	std::vector<A>v2;
	v1.push_back(A(5));
	v1.push_back(A(1));
	v2.push_back(A(1));
	v2.push_back(A(2));
	v2.push_back(A(3));
	std::cout << (v1 < v2);
	return 0;
}